package com.kust.ucenter.service;

import com.kust.ucenter.entity.Member;
import com.baomidou.mybatisplus.extension.service.IService;
import com.kust.ucenter.entity.vo.LoginVo;
import com.kust.ucenter.entity.vo.RegisterVo;

/**
 * <p>
 * 会员表 服务类
 * </p>
 *
 * @author testjava
 * @since 2022-06-30
 */
public interface MemberService extends IService<Member> {

    //登录方法
    String login(LoginVo loginVo );


    //注册方法
    void register(RegisterVo registerVo);


    //解析用户信息

    LoginVo getLoginInfo(String memberId);

    //查询是否微信被注册过
    Member getByOpenid(String openid);

    Integer countRegisterByDay(String day);
}
